<!doctype html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>
<?php $this->assign("shop",M("ymdian")->selectRow("id=".SHOPID)); ?>
<div class="header" >
    
    <div class="title">夜猫"<?php echo $this->_var['shop']['title']; ?>"管理中心</div>
    
      
  </div>
	 
             
            <div class="row" style="height:30px; line-height:30px; border-bottom:1px solid #eee; font-size:14px;">
            	<div class="col-2-1">&nbsp;今日营业额 <span style="float:right;color:#FF4600">￥<?php echo round($this->_var['dayorder']['money'],"2"); ?>&nbsp;</span></div>
                <div class="col-2-1">&nbsp;今日收益 <span style="float:right;color:#FF4600">￥<?php echo round($this->_var['dayincome'],"2"); ?>&nbsp;</span></div>
            </div>
            
            <div class="row" style="height:30px; line-height:30px; border-bottom:1px solid #eee; font-size:14px;">
            	<div class="col-2-1">&nbsp;压货款 <span style="float:right;color:#FF4600">￥<?php echo round($this->_var['prosmoney'],"2"); ?>&nbsp;</span></div>
                <div class="col-2-1">&nbsp;未结款 <span style="float:right;color:#FF4600">￥<?php echo round($this->_var['alldakuan'],"2"); ?>&nbsp;</span></div>
            </div>
              
            <div class="comblock">

                <ul class="user_new_listitem">
                 <li class="noarr"><span class="righttxt"><span class="red"><?php echo $this->_var['newuser']; ?>个</span></span>新用户</li>
                	 <li class="noarr"><span class="righttxt"><span class="red"><?php echo $this->_var['neworder']; ?>笔</span></span>新订单</li>
                    <li class="noarr"><span class="righttxt"><span class="red"><?php echo intval($this->_var['dayorder']['ordernum']); ?>笔</span></span>今日订单</li>
                    
                    <li class="noarr"><span class="righttxt"><span class="red">￥<?php echo round($this->_var['dayorder']['on_money'],"2"); ?></span></span>今日线上营业额</li>
                    <li class="noarr last"><span class="righttxt"><span class="red">￥<?php echo round($this->_var['dayorder']['off_money'],"2"); ?></span></span>今日线下营业额</li>
                    
                </ul>
            </div>
            <div class="comblock">

                <ul class="user_new_listitem">
                    <li class="noarr"><span class="righttxt"><span class="red"><?php echo intval($this->_var['monthorder']['ordernum']); ?>笔</span></span>本月订单</li>
                    
                   
                    <li class="noarr "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['money'],"2"); ?></span></span>本月营业额</li>
                    <li class="noarr "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['off_money'],"2"); ?></span></span>本月线下营业额</li>
                    <li class="noarr "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['balance'],"2"); ?></span></span>本月收益</li>
                    <li class="noarr "><span class="righttxt"><span class="red"><?php echo intval($this->_var['wgnum']); ?></span></span>本月订单超时次数</li>
                     <li class="noarr "><span class="righttxt"><span class="red"><?php echo intval($this->_var['wgdknum']); ?></span></span>本月打款超时次数</li>  
                </ul>
            </div>
            
            <div class="comblock">
            	<ul class="user_new_listitem">
                	 <li class="noarr "><span class="righttxt"><span class="red"><?php echo $this->_var['sushe_num']; ?></span></span>总下单寝室数</li>
                     <li class="noarr "><span class="righttxt"><span class="red"><?php echo $this->_var['alluser']; ?></span></span>总下单用户</li>
                     <li class="noarr "><span class="righttxt"><span class="red"><?php echo $this->_var['allmoney']; ?></span></span>总营业额</li>
                    <li class="noarr "><span class="righttxt"><span class="red"><?php echo round($this->_var['allyakuan'],"2"); ?></span></span>总进货额</li>
                    <li class="noarr "><span class="righttxt"><span class="red"><?php echo round($this->_var['allyouhui'],"2"); ?></span></span>总优惠额</li>
                </ul>
            
            </div>
            
        </div>
  
<?php $this->assign('botnav','index'); ?>   
 <?php echo $this->fetch('footer.html'); ?>
</body>
</html>
